AcVendor\Brick\Money\Money A

Total Complexity 70
Dependencies 15
Dependents 2
Total lines 812
Lines of code 268
Logical lines of code 159
Comment lines 402
Methods 33
Properties 3

Methods 33

Method Rating Maintainability Complexity Lines of code
allocate()
A
47 9 35
formatTo()
S
52 6 26
allocateWithRemainder()
S
52 5 24
plus()
S
62 3 11
minus()
S
62 3 11
max()
S
66 3 9
of()
S
63 3 10
ofMinor()
S
63 3 10
zero()
S
63 3 10
min()
S
66 3 9
convertedTo()
S
63 3 10
splitWithRemainder()
S
69 2 6
checkContext()
S
73 2 5
total()
S
69 2 7
split()
S
69 2 6
quotientAndRemainder()
S
61 1 12
negated()
S
79 1 3
abs()
S
79 1 3
toRational()
S
79 1 3
__toString()
S
80 1 3
formatWith()
S
72 1 6
__construct()
S
74 1 5
gcdOfMultipleInt()
S
73 1 4
simplifyRatios()
S
74 1 4
quotient()
S
64 1 9
multipliedBy()
S
74 1 4
getContext()
S
82 1 3
getCurrency()
S
82 1 3
getUnscaledAmount()
S
81 1 3
getMinorAmount()
S
80 1 3
getAmount()
S
82 1 3
create()
S
74 1 4
dividedBy()
S
74 1 4